// export const baseURL = 'http://10.0.4.151:9999'
export const baseURL = 'http://127.0.0.1:9999'
// export const baseURL = 'http://192.168.1.16:9999'
export const FORM_CONTENT_TYPE = 'application/x-www-form-urlencoded' 
// 加密密钥
export const SECRET_KEY = 'thanks,pig4cloud'
export type SearchParams = {
  name: string
  id: number
}

export const queryStatusOptions: SearchParams[] = [
  { name: "不限", id: 999 },
  { name: "完结", id: 1 },
  { name: "半年内完结", id: 2 },
  { name: "连载中", id: 3 },
  { name: "3日内更新", id: 4 },
  { name: "7日内更新", id: 5 },
  { name: "1月内更新",  id: 6 },
]
export const queryWordCountOptions: SearchParams[] = [
  { name: "不限", id: 999 },
  { name: "10万字以内", id: 1 },
  { name: "30万字以内", id: 2 },
  { name: "50万字以内", id: 3 },
  { name: "100万字以上", id: 4 },
  { name: "200万字以上", id: 5 },
  { name: "300万字以上", id: 6 },
  { name: "500万字以上", id: 7 },
]

export const queryTypeOptions: SearchParams[] = [
  { name: "综合", id: 999 },
  { name: "新书", id: 1 },
  { name: "高分", id: 2 },
  { name: "字数", id: 3 }
]
